﻿@{
    ViewBag.Title = "StatisticLikeViewHits";
    Layout = "~/Views/Shared/_AdminLayout.cshtml";
}

@section scripts
{
    <script src="~/Scripts/App/Admin/statistic_viewlikehits.js"></script>
}

<div class="row">
    <div class="col-sm-4">
        <div class="widget">
            <div class="widget-simple">
                <a class="widget-icon pull-left themed-background-dark animation-fadeIn" href="#">
                    <i class="gi gi-wallet"></i>
                </a>
                <div class="pull-right">
                    <h3 class="text-right" data-bind="text: Hits">123120800
                    </h3>
                </div>
                <h3 class="widget-content animation-pullDown">Lượt Truy Cập
                    <small>All the time</small>
                </h3>
            </div>
        </div>
    </div>
    <div class="col-sm-4">
        <div class="widget">
            <div class="widget-simple">
                <a class="widget-icon pull-left themed-background-amethyst animation-fadeIn" href="#">
                    <i class="gi gi-certificate"></i>
                </a>
                <div class="pull-right">
                    <h3 class="text-right" data-bind="text: Ads">123120800
                    </h3>
                </div>
                <h3 class="widget-content animation-pullDown">Số Quảng Cáo
                    <small>Trong hệ thống</small>
                </h3>
            </div>
        </div>
    </div>
    <div class="col-sm-4">
        <div class="widget">
            <div class="widget-simple">
                <a class="widget-icon pull-left themed-background-fire animation-fadeIn" href="./page_comp_charts.php.html">
                    <i class="gi gi-user"></i>
                </a>
                <div class="pull-right">
                    <h3 class="text-right" data-bind="text: Users">123120800
                    </h3>
                </div>
                <h3 class="widget-content animation-pullDown">Số Người Dùng
                    <small>Trong hệ thống</small>
                </h3>
            </div>
        </div>
    </div>
    <div class="col-md-8">
        <div class="block full">
            <div class="block-title">
                <h2><strong>Thống Kê Lượt Truy Cập, Xem, Thích</strong>
                </h2>
                <div class="pull-right col-md-2" style="margin-top:3px;">
                    <select class="select-chosen" data-bind="options: Years, optionsText: 'year', optionsValue: 'year', chosen: true, value: SelectedYear, event: { change: $root.doChange }">
                    </select>
                </div>
            </div>
            <div id="chart-staticlikeviewhits" class="chart"></div>
        </div>
    </div>
    <div class="col-md-4">
        <div class="block">
            <div class="block-title">
                <h2><strong>Số Liệu</strong> Chi Tiết</h2>
            </div>
            <div class="table-responsive">
                <table class="table table-vcenter">
                    <thead>
                        <tr>
                            <th>Tháng</th>
                            <th>Lượt Xem</th>
                            <th>Lượt Thích</th>
                            <th>Lượt Truy Cập</th>
                        </tr>
                    </thead>
                    <tbody data-bind="foreach: ChartVLH">
                        <tr>
                            <td data-bind="text: MonthName"></td>
                            <td data-bind="text: Views"></td>
                            <td data-bind="text: Likes"></td>
                            <td data-bind="text: Hits"></td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>
